using System.Collections.Generic;

namespace Domain.Repositories
{
    public interface IUserRepository
    {
        User GetById(int id);
        void Save(User entity);
        void Delete(User entity);
        User GetLastUser();
        IEnumerable<User> GetAllUser();
    }
}